//public class Person {
//
//    private String name = "Person";
//
//    int age = 0;
//
//}
//
//public class Child extends Person {
//
//    public String grade;
//
//    public static void main(String[] args) {
//
//        Person p = new Child();
//
//        System.out.println(p.name);
//
//    }
//}
public class HasStatic {// 1
    private static int x = 100;// 2
    public static void main(String args[]) {// 3
        HasStatic hsl = new HasStatic();// 4
        hsl.x++;// 5
        HasStatic hs2 = new HasStatic();// 6
        hs2.x++;// 7
        hsl = new HasStatic();// 8
        hsl.x++;// 9
        HasStatic.x--;// 10
        System.out.println(" x=" + x);// 11
    }
}